public class Example02{
    public static void main(String[] args){
        byte a;
        int b = 298;
        a = (byte)b;
        System.out.println("b=" + b);
        System.out.println("a=" + a);
    }
}
